<#import "/spring.ftl" as spring />
<html>
<head>
	<link rel="stylesheet" type="text/css" href="<@spring.url "/css/databox.css" />" />
	<title>Referring realtors</title>
</head>
<body>

<div id="content">

	<h1>ADVANCED PRICING PLAN</h1>
	
	<span class="error">${RequestParameters.message!}</span>

	<h2>QUOTE RULES</h2>
	<p>Quote Rules are used to create complex pricing plans based on a combination of zip codes, listing price, property size and property/foundation types.</p>
	
	<p>You can have as many quote rules as you like, but you will see validation errors if you try to create two rules that might apply to the same property.  Please consult our <a href="http://forum.inspectortime.com/" target="_blank">support forums</a> if you have problems setting up the pricing plan you want.</p>
	
	<p>Note that the fee rules will be applied in the following order:</p>
	<ol>
	<li>Fee Rules for one or more specific zip codes (rules for the same zip code cannot overlap)</li>
	<li>Fee Rules that don't specify a zip code (these apply to all zip codes)</li>
	<li>The default quote price for <b>${inspectorCompany.name}</b> which is <b>$${inspectorCompany.baseInspectionFee}</b></li>
	</ol>

	<br/>
	<#assign ruleEditAllowed=true/>
	<#include "/inspector/fee/include-ruleList.ftl" />
	<p><a href="editBaseFeeWithAdjustersCalculatorForm.html" class="formLink">- ADD NEW RULE -</a></p>
	
	<form action="advancedPlan.html" method="post">
		<input type="hidden" name="inspectorCompany.id" value="${inspectorCompany.id}" />
		<p><input type="submit" value="NEXT" class="formButton"/>
		<a href="priceHome.html" class="formLink">- CANCEL -</a></p>
		
	</form>
	
</div> <!-- /content -->
</body>
</html>
